<?php

$holidayName = $_Request['HolidayName'];
$date = $_REQUEST['Date'];
$day = $_REQUEST['Day'];


include 'conn.php';

$sql = "insert into holiday(HolidayName,Date,Day) values('$holidayName','$date','$day')";
$result = @mysql_query($sql);
if ($result){
	echo json_encode(array('success'=>true));
} else {
	echo json_encode(array('msg'=>'Some errors occured.'));
}
?>